package com.example.jpa.demo_jpa.service;

import com.example.jpa.demo_jpa.model.PhoneType;

import java.util.List;

public interface PhoneTypeService {
    PhoneType findById(String id);
    List<PhoneType> findAll();
    PhoneType save(PhoneType phoneType);
    void delete(String id);

    PhoneType findByNumber(String number);
}
